﻿using System;
using System.Windows;
using xmlBuddy.Utilities;

namespace xmlBuddy
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        public App()
        {
            AppDomain.CurrentDomain.AssemblyResolve += Loader.FindAssemblies;

        }

        private void Application_Exit(object sender, ExitEventArgs e)
        {
            xmlBuddy.Properties.Settings.Default.Save();
        }
    }
}
